<?php
require __DIR__.'/../MTCloud.class.php';

try{
    $MTCloud = new MTCloud();

    $options = array(
        'departmentID' => 8030,
        // 'livePcLogo' => '/H/tmp/vim.png',
        'livePcLogoUrl' => 'http://www.jd.com',
        // 'playbackPcLogo' => '/H/tmp/vim.png',
        'playbackPcLogoUrl' => 'http://www.jd.com',
        'clientLogo' => '/img/logo2.png',
        'watermark' => 1,
        'watermarkFile' => '../../img/logo2.png'
    );

    $res = $MTCloud->moduleSet($options);
    var_dump('<pre>');
    var_dump($res);
}catch(MTCloudException $e){
    var_dump($e->getMessage());
}
